﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TakeoutMangesWeb.MyHandler
{
    /// <summary>
    /// DeleteOrderHandler 的摘要说明
    /// </summary>
    public class DeleteOrderHandler : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            int id = Convert.ToInt32(context.Request.QueryString["id"]);
            if (TakeoutMangesBLL.OrdersBLL.UpadateOrder(id))
            {

            }
            else
            {

            }
            context.Response.Redirect("/AdminterOrder.aspx");
        }

    

    public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}